#ifndef SERVERINFO_H
#define SERVERINFO_H

#include <QtGui/QDialog>

namespace Ui {
    class ServerInfo;
}

class ServerInfo : public QDialog {
    Q_OBJECT
    Q_DISABLE_COPY(ServerInfo)
public:
    explicit ServerInfo(QWidget *parent = 0);
    virtual ~ServerInfo();

    void Load();

protected:
    virtual void changeEvent(QEvent *e);

private:
    Ui::ServerInfo *m_ui;
public:
    QString serverAddress;
    int serverPort;
};

#endif // SERVERINFO_H
